package com.mingqijia.gassafety.webserver.request;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Data
public class FeedbackRequest {

    @ApiModelProperty("主键")
    private Integer id;

    @ApiModelProperty("企业ID")
    private String spId;

    @ApiModelProperty("开始时间")
    private String startDate;

    @ApiModelProperty("结束时间")
    private String endDate;

    @NotBlank(message = "意见反馈不能为空")
    @Size(max = 1000)
    @ApiModelProperty(value = "意见反馈详情")
    private String comment;

    @Size(max = 1000)
    @ApiModelProperty(value = "回复详情")
    private String reply;

    @ApiModelProperty("反馈人")
    private String feedbacker;

    @ApiModelProperty("页数")
    private Integer page = 1;

    @ApiModelProperty("页面大小")
    private Integer pageSize = 10;

    @ApiModelProperty(value = "回复状态 1-已回复 0-未回复")
    private Integer status;


}
